package com.hst.capacity.domain.model.entity.franchisee.fleet;


import com.hst.capacity.domain.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "t_fleet_user")//车队用户
public class FleetUserEntity extends BaseEntity {

  @Id
  @GeneratedValue(generator = "gen_uuid")
  @GenericGenerator(name = "gen_uuid", strategy = "uuid")
  private String idFleetUser;
  private String idFleet;
  private String mobile;
  private String password;
  private Integer status;
  private Integer errorNumber;
  private LocalDateTime lastLoginTime;
  private String inviteImageUrl;

}
